Computer and Modernization ›› 2011, Vol. 1 ›› Issue (8): 32-38.doi: 10.3969/j.issn.1006-2475.2011.08.010
• 软件工程 • Previous Articles Next Articles
LI Qing-song1, ZHANG Ye2
Received:
Revised:
Online:
Published:
Abstract: UML collaborative diagram describes objects interaction and the message transferring procedure between objects. So the test scenarios can be generated according to the message flow and control flow in UML collaborative diagram. After analyzing the relationship between UML collaborative diagram and deterministic finite automata(DFA), this paper presents a method of converting an UML collaborative diagram to a DFA model, then generates test scenarios and test cases based on DFA. Finally, this method is applied to test case generation of one real project “manhour quota management system”. Through the data comparison and analysis of the results, the method is proved effective and practical.
Key words: UML collaborative diagram, deterministic finite automata, test case
CLC Number:
TP311.05
LI Qing-song;ZHANG Ye. Study on Approach for Test Case Generation Based on UML Collaboration Diagram and DFA[J]. Computer and Modernization, 2011, 1(8): 32-38.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.c-a-m.org.cn/EN/10.3969/j.issn.1006-2475.2011.08.010
http://www.c-a-m.org.cn/EN/Y2011/V1/I8/32